<?php

/**
 * JingYao-backend
 *
 * @link     https://gitee.com/wang-zhihui-release/jingyao-backend
 * @apiDocument https://gitee.com/wang-zhihui-release/jingyao-backend/wikis/
 */

namespace Database\Factories;

use App\Models\House;
use Illuminate\Database\Eloquent\Factories\Factory;

class HouseFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = House::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'houser_user_id' => 1,
            'address' => $this->faker->address,
            'size' => '100*100',
            'lease_mode' => 1,
            'specs' => 1,
            'trade_mode' => 1,
            'price_range' => 1,
            'lease_status' => 2,
            'images' => $this->faker->imageUrl() . ',' . $this->faker->imageUrl(),
        ];
    }
}
